package com.yl.chainStore.entity.warehouse

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import com.yl.users.common.NeedGerId
import com.yl.chainStore.common.enums.Status
import com.yl.common.annotation.NoArg
import com.yl.common.getContext
import java.util.*

/**
 * @description :技加工实体类
 * @author :吴枫
 * @create :2021-06-22 09:46:00
 */
@NoArg
@TableName("technology_processing_plant")
data class TechnologyProcessingPlant(

        /**
         * id
         */
        @TableId(value = "id", type = IdType.AUTO)
        var id: Long,

        /**
         * 客户id
         */
        @TableField("name")
        var name: String? = null,

        /**
         * 关联病例id
         */
        @TableField("phone")
        var phone: String? = null,

        /**
         * 名称
         */
        @TableField("enable")
        var enable: Int? = null,

        /**
         * 内容
         */
        @TableField("company_id")
        var companyId: Long ?=null,

        @TableField("sub_company_id")
        var subCompanyId :Long= getContext().subCompanyId



)
